package com.wicket.okrapp.biz.service.dto.common;
import com.wicket.okrapp.common.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

import lombok.Data;

import java.util.Objects;
    
    
    /**
     * @desc CollectionsAggregationDto
     * @使用场景
     */
    @Data
    public class CollectionsAggregationDto extends BaseDto  implements Serializable {
      
    /**
     * 归属对象内容ID 
     */
    @ApiModelProperty("归属对象内容ID")
    private String	 objectId;

    /**
     * 生成规则信息辅表主键ID 
     */
    @ApiModelProperty("生成规则信息辅表主键ID")
    private String	 addRuleInfoId;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      CollectionsAggregationDto that = (CollectionsAggregationDto) o;
      return  objectId == that.objectId&&addRuleInfoId == that.addRuleInfoId;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), objectId,addRuleInfoId);
    }
    
      

    }
   